// ScreenShotsDlg.h : header file
//

#pragma once


// ScreenShotsDlg dialog
class ScreenShotsDlg : public CDialog
{
// Construction
public:
	ScreenShotsDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_SCREENSHOTS_DIALOG };

	HWND GetCapturedWindow() { if(CapturedWindow) return CapturedWindow->m_hWnd; return 0; }
protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	long HighlightFoundWindow (HWND hwndFoundWindow);
	
	HPEN RectanglePen;
	bool CaptureMode;
	CWnd* CapturedWindow;

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()

	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
};
